//
//  ATWImApplication.h
//  WorkplusIM-IOS
//
//  Created by lingen on 15/10/8.
//  Copyright © 2015年 lingen.liu. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ATWAuth;
@class ATWLoginMetaData;
@class AWClientStream;

@interface ATWImApplication : NSObject

/*登录成功的信息*/
@property (nonatomic,strong) ATWAuth* auth;

/*登录无数据，包括用户名,密码，租户ID等*/
@property (nonatomic,strong) ATWLoginMetaData* loginMetaData;

/*本地时间与服务器时间差值*/
@property (nonatomic,assign) UInt64 messageTimeDifference;

/**
 *与IM保持连接的流
 **/
@property (nonatomic,strong) AWClientStream* stream;

+ (instancetype)sharedInstance;

@end
